﻿using System;
using System.Windows.Forms;

using Haro.Core;
using Haro.Speech;

namespace Haro
{
    class HaroMain
    {
        static void Main(string[] args)
        {
            Debug.Output("moo~");

            // Initializes all of Haro's primary functions.
            Prime.InitializeHaro();

            SpeechOutput.Speak("Haro waking up!");

            // Initializes and runs the main GUI interaction with Haro.
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());

            SpeechOutput.Speak("Bye bye!");
            System.Threading.Thread.Sleep(1500);

            Prime.Cleanup();
        }
    }
}
